package cn.stylefeng.guns.modular.sysuser.controller;

import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import org.springframework.stereotype.Controller;

/**
 * 系统用户界面
 *
 * @author zhu
 * @date 2021/10/21 18:35
 */
@Controller
@ApiResource(name = "系统用户界面")
public class SysUserViewController {

    /**
     * 系统用户首页
     *
     * @author zhu
     * @date 2021/10/21 18:35
     */
    @GetResource(name = "系统用户首页", path = "/view/sysUser")
    public String sysUserIndex() {
        return "/modular/business/sysuser/sysUser.html";
    }

    /**
     * 系统用户-新增
     *
     * @author zhu
     * @date 2021/10/21 18:35
     */
    @GetResource(name = "系统用户-新增", path = "/view/sysUser/add")
    public String sysUserAdd() {
        return "/modular/business/sysuser/sysUser_add.html";
    }

    /**
     * 系统用户-编辑
     *
     * @author zhu
     * @date 2021/10/21 18:35
     */
    @GetResource(name = "系统用户-编辑", path = "/view/sysUser/edit")
    public String sysUserEdit() {
        return "/modular/business/sysuser/sysUser_edit.html";
    }

}